package com.gancp.service;

import com.gancp.Exception.BaseServiceException;
import com.gancp.entity.UserInfo;
import com.gancp.service.base.BaseService;

/**
 * @Author gancp
 * @Date 时间被黑洞吸走了
 * @Descripition 用户信息Service
 **/
public interface UserInfoService extends BaseService<UserInfo, String> {

    String login(String data, String key) throws Exception;

    UserInfo selectByMobile(String mobile);

    /**
     * @Author gancp
     * @Date 时间被黑洞吸走了
     * @Descripition 发送短信验证码
     **/
    void sendVerifyCode(String phone) throws BaseServiceException, Exception;
}
